package org.tc.product.service;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.tc.product.entity.Pictures;

import java.util.List;

@RequestMapping("/PicturesService")
public interface PicturesService {

    @RequestMapping("/insertPic")
    int insertPic(@RequestBody Pictures record);

    @RequestMapping("/getPic")
    List<Pictures> getPic(@RequestBody Pictures pictures);

    @RequestMapping("/updPic")
    int updPic(@RequestBody Pictures record);
}
